-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: add macOS and Windows tests #8
Conversation
Enable macOS tests Add TODO Try Windows Fix job name Use setup-go@v4 Read Go version from go.mod Add CWD Fix go-version-file Use ./go.mod Use github.workspace Reorder Spaces Remove cwd Try CD Test Again Again Use localhost IP Add bench Refactor test Add bench Again Re-enable
You mean Windows build and test is slower than macOS and Linux? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR title should be test: ...
, since test is a valid conventional commit type
This is to make sure we stay cross-platform.
Note that the Windows build and test is a lot slower than Linux and Windows. Because of that, I had to change the wait in one of the tests.
Also, I'm using windows-2019, which is at least 2x faster than windows-latest: actions/runner-images#5166
On macOS, I ran into an issue where CloseRead on a connection that was already fully read causes an error, so I needed to update the test there too. It was a huge pain to figure out what was going on.